<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/axios.min.js"></script>
    <script src="/js/query.js"></script>
    <script src="/djs/userManage.js"></script>
    <link rel="stylesheet" href="/css/userManage.css">

</head>
<body>

<table class="table" cellspacing="0">
    <thead><tr><th>用户名</th><th>密码</th><th>真实姓名</th><th>等级</th><th>操作</th></tr></thead>
    <tbody id="data"></tbody>
</table>

<div class="add" id="addUser">
    <div class="content">
    <div><h3>添加用户信息</h3></div>
    <div>用户名：&nbsp&nbsp&nbsp<input type="text" name="userName" id="newUserName"></div>
    <div>真实姓名：<input type="text" name="name" id="newName"></div>
    <div>用户等级：<select name="level" id="level">
        <option value="班主任">班主任</option>
        <option value="房间管理员">房间管理员</option>
        <option value="系统管理员">系统管理员</option>
        <option value="超级管理员">超级管理员</option>
    </select>
    </div>
        <div>
            <input class="button" type="button" value="添加" onclick="addNewUser()">
            <input class="button" type="button" value="取消" onclick="backToUserMain()">
        </div>
    </div>
</div>


<div class="change" id="changeUserLevel">
    <div class="content">
        <div><h3>修改用户等级</h3></div>
        <div style="display: none"><span id="changeUserId"></span></div>
        <div>用户名：&nbsp&nbsp&nbsp<span id="changeUserNickName"></span></div>
        <div>真实姓名：<span id="changeUserName"></span></div>
        <div>用户等级：<select name="level" id="changeLevel">
            <option value="班主任">班主任</option>
            <option value="房间管理员">房间管理员</option>
            <option value="系统管理员">系统管理员</option>
            <option value="超级管理员">超级管理员</option>
        </select>
        </div>
        <div>
            <input class="button" type="button" value="修改" onclick="changeUserLevel()">
            <input class="button" type="button" value="取消" onclick="backToUserMain()">
        </div>
    </div>
</div>




<div ><input  class="button" type="button" value="添加用户" onclick="showAddUser()"></div>

</body>
</html>